package com.win.oauth.entity;

import com.fyl.domain.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author youlian.fei
 * @since 2020-03-14
 */
@TableName("sys_permission")
public class Permission extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 类型 1-菜单 2-按钮
     */
    private Integer type;

    private Long moduleFunId;

    private String url;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Long getModuleFunId() {
        return moduleFunId;
    }

    public void setModuleFunId(Long moduleFunId) {
        this.moduleFunId = moduleFunId;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "Permission{" +
            "type=" + type +
            ", moduleFunId=" + moduleFunId +
            ", url=" + url +
        "}";
    }
}
